//
//  Singleton.m
//  MyFishHelper
//
//  Created by EmberWei on 2018/6/19.
//  Copyright © 2018年 EmberWei. All rights reserved.
//

#import "Singleton.h"

@interface Singleton ()

@end

@implementation Singleton

static Singleton* _instance = nil;

+(instancetype) shareInstance
{
    static dispatch_once_t onceToken ;
    dispatch_once(&onceToken, ^{
        _instance = [[self alloc] init] ;
    }) ;
    
    return _instance ;
}

@end
